package net.zjitc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @auther 郭梦婷
 * @create 2022-04-27 16:13:09
 * @describe 实体类
 */
@TableName("education")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="Education对象", description="")
public class Education implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学历id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "学历")
    @TableField("eduname")
    private String eduname;

    @ApiModelProperty(value = "创建时间")
    @TableField("addtime")
    private Date addtime;


    public Integer getId() {
        return id;
        }

    public Education setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getEduname() {
        return eduname;
    }

    public void setEduname(String eduname) {
        this.eduname = eduname;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    @Override
    public String toString() {
        return "Education{" +
                "id=" + id +
                ", eduname=" + eduname +
                ", addtime=" + addtime +
        "}";
    }
}